-
Notifications
You must be signed in to change notification settings - Fork 0
Лабораторная работа 1 #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2.5 из 4 баллов.
Работа выполнена хорошо! По тех. части вопросов нет, мелкие замечания по оформлению. Придерживайтесь рекомендаций PEP8 относительно пробелов. Обычно IDE выделяет их серым цветом. Учитывайте, пожалуйста, их в будущих работах.
Плюс нейминг
Комментарии делятся на следующие категории:
GOOD- хорошее решение. Хорошее или креативное решение.TODO- можно лучше. Эти замечания не влияют на оценку, и носят рекомендательный характер.FIXME- необходимо исправить. Устраните эти замечания, чтобы получить максимальный балл.
После проверки работа, может содержать несколько статусов:
- Changes requested. Следует выполнить доработки, чтобы получить максимальный балл.
Исправление замечаний следует проводить в IDE и приложить согласно инструкции в этот pull request исправленные файлы. Файлы с исправлениями прикладывайте с теми же названиями! - Changes approved. Работа выполнена на максимальный балл.
Рекомендуется учесть комментарии рекомендательного характера, и приложить в этот pull request исправленные файлы. В этом случае повторно на проверку присылать работу не нужно. Можно нажимать зеленую кнопкуMerge pull request.
Лабораторная работа 1/task_1.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GOOD
Отличное решение завести переменную, а не пользоваться магическими числами! Заведя переменную и заполнив её на первом этапе вручную, можно в будущем доработать так, чтобы эта переменная вычислялась автоматизированно.
Лабораторная работа 1/task_1.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 балл
Лабораторная работа 1/task_2.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GOOD
Прекрасно, что воспользовались константами
Лабораторная работа 1/task_2.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FIXME
Переменные в python называют в стиле snake_case: floppy_capacity_space, ...
Поправьте названия этих переменных
Лабораторная работа 1/task_2.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FIXME
Расставьте между умножением пробелы
Придерживайтесь рекомендаций PEP8 относительно пробелов.
Лабораторная работа 1/task_2.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.5 балла
Лабораторная работа 1/task_3.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FIXME
Вместо того, чтобы делить на 2 и приводить к целому числу воспользуйтесь целочисленным делением на 2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GOOD
Отличное решение завести переменную, а не пользоваться магическими числами!
Лабораторная работа 1/task_3.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.5 балла
Лабораторная работа 1/task_4.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FIXME
поправить нейминг переменной на стиль snake_case
Лабораторная работа 1/task_4.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.5 балла
aeksei
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Максимальный балл
Все предельно просто и понятно
🐍 👍